{{	content 

	if content.extract('footnote').count > 0
		"\n"

		for footnote in content.extract('footnote') 
			"\n"
			}}[{{ footnote.index }}]: {{ footnote.attributes.text.indentNewlines(footnote.index.length + 4).trim 
			"\n"
		end
	end
}}